public class Test01{
    public static void main(String[] args){
        int a = 10;
        int b = 3;
        System.out.println(a+b);//13
        //注意
        System.out.println(10+3);//13
        System.out.println("10"+3);//103

        int c1 = 10;
        int c2 = 10;
        c1++; //c = c+1;
        ++c2;
        System.out.println(c1);//11
        System.out.println(c2);//11

        int d; 
        int c=10;
        d = c++;
        System.out.println(c);//11
        System.out.println(d);//10

        c=10;
        d = ++c;
        System.out.println(c);//11
        System.out.println(d);//11

        
       ////三目运算符
        String s1 = 5>1?"表达式成立的结果":"表达式不成立的结果";
        System.out.println(s1);




    }
}